﻿namespace Sessionizer.Core
{
    /// <summary>
    /// Represents factory for session data.
    /// </summary>
    /// <typeparam name="T">Type of session data.</typeparam>
    public interface ISessionsFactory<T>
    {
        /// <summary>
        /// Creates an intance of given session data type T
        /// </summary>
        /// <returns>Session data instance</returns>
        T Create();
    }
}